﻿@font-face {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    src: local('SF UI Text'), url('../fonts/SFUIText-Regular.woff') format('woff');
}


@font-face {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    src: local('SF UI Text'), url('../fonts/SFUIText-Medium.woff') format('woff');
}


html, body {
    font-family: 'SF UI Text', Helvetica, Arial, sans-serif;
    overflow: hidden;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow:hidden;
}


h1 {
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
}

h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 25px;
}

h3 {
    font-style: normal;
    font-weight: 500;
    font-weight: 500;
    font-size: 22px;
}

h4 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

a p, p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: rgba(32, 26, 37, 0.3);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.search {
    border-radius: 65px;
    height: 43px;
    margin: 10px 20px;
    padding: 20px;
    width: calc(100% - 40px);
    font-size: 18px;
    color: #BFC1CC;
    font-family: 'SF UI Text';
    font-weight: 400;
    border: 1px solid #E8E8E8;
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-origin: content-box;
}

main {
    margin: 75px 0 100px 0;
    overflow-y: auto;
    height: calc(100vh - 70px - 100px);
}

main.modal-page {
    margin: 75px 0 0px 0;
    height: calc(100vh - 70px);
}


.paralax-page {
    background-image: url('../images/piano-large.jpg');
    background-repeat: no-repeat;
    background-size:cover;
}
.toolbar {
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color:white;
    z-index:1;
}

.background-image {
    width: 100vw;
    height: 50vh;
    object-fit: cover;
}

.content {
    /*Need to check for iOS Safe Areas*/
    padding-top: 40px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


.card {
    display: grid;
    padding: 20px 10px;
    border-radius: 20px;
    margin: 10px 20px;
    border: 1px solid #DCDDE0;
    filter: drop-shadow(0px 10px 10px #F1F2F5);
}

.course {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
}

.mentor {
    display: grid;
    grid-template-columns: 100px 1px auto 50px;
    grid-template-rows: auto auto auto;
}

.popup {
    padding: 20px 10px;
    border-radius: 40px 40px 0px 0px;
    border: 1px solid #DCDDE0;
    border-bottom:none;
    margin-top: -100px;
    background-color: white;

}

.mentor-heading {
    /*background-color:rebeccapurple;*/
    align-self: flex-start;
    background-image: url(../images/highlight-heading.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.divider {
    border: 2px solid #EDEDED;
}

.mentor .divider {
    grid-column: 2;
}

.mentor-followers {
    grid-column: 3;
}

.mentor-arrows {
    grid-column: 4;
}

.course img {
    grid-row-start: 1;
    grid-row-end: 4;
    width: 100px;
    height: 100px;
    background-image: url(../images/highlight-green.png);
    background-repeat: no-repeat;
}

.mentor-image {
    background-color: #278c7e;
    border-radius : 20px;
}

.mentor:nth-child(even) .mentor-image {
    background-color: #FFD051;
}

.course:nth-child(even) img {
    background-image: url(../images/highlight-yellow.png);
}

a.card{
    text-decoration: none;
}

.card h3, .card h4, .card p {
    color: black;
    text-decoration: none;
    text-decoration-line: none;
}
.card p {

}

.card h3 {

}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url() no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

	.flex-column{
		padding-left: env(safe-area-inset-left);
	}
}
